<template>
  <div class="profile">
    <nav-bar class="mine-nav">
      <div slot="center">我的档案</div>
      <div slot="right" class="nav-right">
        <a href="http://wooden-joint.gitee.io/pyg/">品优购</a>
      </div>
    </nav-bar>
    <div class="main" @click="mainClick">
      <img src="~assets/img/profile/mine.png" alt="" />
    </div>
  </div>
</template>

<script>
import NavBar from "components/common/navbar/NavBar";
export default {
  name: "Profile",
  components: {
    NavBar,
  },
  methods: {
    mainClick() {
      this.$toast.show("功能还未开发，这仅是一张图片！！", 1000);
    },
  },
};
</script>

<style scoped>
.profile {
  width: 100vw;
  height: 100vh;
}
.mine-nav {
  background-color: var(--color-tint);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.nav-right a {
  display: inline-block;
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #fff;
}
.main img {
  width: 100%;
}
</style>